package com.xbongbong.pro.model;

import com.xbongbong.pro.domain.entity.SysLabelEntity;

import java.util.Collection;
import java.util.List;
import java.util.Map;


/**
 */
public interface SysLabelModel {
   Long insert(SysLabelEntity entity);

   void insertBatch(List<SysLabelEntity> list);

   List<SysLabelEntity> findEntities(Map<String, Object> param);

   Integer getEntityCount(Map<String, Object> param);

   void update(SysLabelEntity entity);

   SysLabelEntity getByKey(Long key, String corpid);

   List<SysLabelEntity> getByLabelIdIn(String corpid, Collection<Long> labelIdIn);

    Integer updateBatch(List<SysLabelEntity> sysLabelEntities, String corpid);

}
